const loginMock = (option: any) => {
  return new Promise((resolve) => {
    const data = {
      token: 'abbccddddeeeee',
      userName: '张三丰',
      option
    }
    resolve(data)
  })
}

const sendMessageMock = (option: any) => {
  return new Promise((resolve) => {
    const data = {
      option
    }
    resolve(data)
  })
}

const registerMock = (option: any) => {
  return new Promise((resolve) => {
    const data = {
      option
    }
    resolve(data)
  })
}

const resetPasswordMock = (option: any) => {
  return new Promise((resolve) => {
    const data = {
      option
    }
    resolve(data)
  })
}

export { loginMock, sendMessageMock, registerMock, resetPasswordMock }
